class DonePlugins {
  apply(compiler) { // compiler.hooks
    console.log(1);
    compiler.hooks.done.tap('DonePlugin', (state) => {
      console.log('编译完成~');
    })
  }
}

module.exports = DonePlugins